import { debounce } from './utils'

export let newmixin = {
  data() {
    return {
      itemimgload: null,
    }
  },
  mounted() {
    let newRefresh = debounce(this.$refs.bscroll.refresh)
    this.itemimgload = () => {
      newRefresh()
    }
    this.$bus.$on('goodimgload', this.itemimgload)
  }
}